import store from '@/store'
export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  addBtn: false,
  editBtn: false,
  // delBtn: false,
  viewBtn:true,
  //emptyBtn: false,
  submitBtn: false,
  searchLabelWidth: 90,
  labelWidth:110,
  arrow:false,
  selection:true,
  searchMenuSpan: 6,
  height: 450,
  "column": [
    {
      "type": "input",
      "label": "逻辑主键",
      "prop": "id",
      hide: true,
      display:false,
    }, {
      "type": "input",
      "label": "线程编号",
      "prop": "lineCode",
      hide: true,
      display:false,
    }, {
      "type": "input",
      "label": "线路名称",
      "prop": "lineName",
      hide: true,
      display:false,
    }, {
      "type": "input",
      "label": "车站编号",
      "prop": "stationCode",
      hide: true,
      display:false,
    }, {
      "type": "input",
      "label": "车站名称，不能重复",
      "prop": "stationName",
      hide: true,
      display:false,
    }, {
      "type": "input",
      "label": "TVM编号",
      "prop": "tvmCode",
      dicUrl: '/support/swpmtvmcode/page',
      props: {
        label: 'tvmCode',
        value: 'tvmCode',
        res: 'data.records'
      },
      dicQuery: {
        size: -1,
        stationCode: store.getters.userInfo.stationCode,
        status: '1'
      },
      disabled:true,
    }, {
      "type": "select",
      "label": "钱箱类型",
      "prop": "moneyBoxType",
      dicUrl: "/admin/dict/type/sw_st_input_cashbox_uninstalled_type",
      disabled:true,
    }, /*{
      "type": "select",
      "label": "钱箱编号",
      "prop": "moneyBoxCode",
      filterable: true,
      allowCreate: true,
      cell: true,
      dicUrl:'/support/swpmtvmcashboxcode/page?size=-1&stationCode='+store.getters.userInfo.stationCode,
      props: {
        label: 'cashboxCode',
        value: 'cashboxCode',
        res:'data.records'
      },
      //editDisabled:true,
    },*/ {
      "type": "date",
      "label": "未卸载日期",
      "prop": "uninstalledDate",
      search: true,
      searchRange: true,
      searchSpan: 12,
      format: "yyyy-MM-dd",
      valueFormat: "yyyy-MM-dd",
      disabled:true,
    }, {
      "type": "date",
      "label": "卸载日期",
      "prop": "uninstallDate",
      search: true,
      searchRange: true,
      searchSpan: 12,
      format: "yyyy-MM-dd",
      valueFormat: "yyyy-MM-dd"
    }, {
      "type": "number",
      "label": "应卸载金额",
      "prop": "shouldBeUnloadedAmount",
      precision: 2,
      disabled:true,
    }, {
      "type": "number",
      "label": "实际卸载金额",
      "prop": "uninstallAmount",
      precision: 2,
      step:0,
      width:95
    }, {
      "type": "number",
      "label": "差异金额",
      "prop": "differenceAmount",
      precision: 2,
      disabled:true,
    }, {
      "type": "number",
      "label": "非标准币金额",
      "prop": "nsAmount",
      precision: 2,
      hide:true,
      display:false,
    }, {
      "type": "input",
      "label": "清点人ID",
      "prop": "inventoryPersonId",
      hide: true,
      display:false,
    }, {
      "type": "select",
      "label": "清点人",
      "prop": "checkPersonName",
      search: true,
      params: {
        userCodeKey: 'inventoryPersonJobNo'
      },
      component: 'user-select',
    }, {
      "type": "input",
      "label": "清点人工号",
      "prop": "inventoryPersonJobNo",
      disabled:true,
    }, {
      "type": "select",
      "label": "状态",
      "prop": "isSubmit",
      search: false,
      dicData: [
        {
          label: "未提交",
          value: "0"
        },
        {
          label: "已提交",
          value: "1"
        }
      ],     
	  hide: true,
      display:false,
    }, {
      "type": "textarea",
      "label": "备注",
      "prop": "remark",
      span:24,
    }, {
      "type": "input",
      "label": "部门ID",
      "prop": "deptId",
      hide: true,
      display:false,
    }, {
      "type": "input",
      "label": "创建人ID",
      "prop": "creatorId",
      hide: true,
      display:false,
    }, {
      "type": "input",
      "label": "创建人名称",
      "prop": "creatorName",
      hide: true,
      display:false,
    }, {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      hide: true,
      display:false,
    }, {
      "type": "input",
      "label": "数据更新时间",
      "prop": "updateTime",
      hide: true,
      display:false,
    }, {
      "type": "input",
      "label": "删除标志 1：删除 0：未删",
      "prop": "delFlag",
      hide: true,
      display:false,
    }]
}
